Skip to content

chore(deps): update Java SDK to v8.46.0#2738

Merged
bitsandfoxes merged 1 commit into
mainfrom
deps/modules/sentry-java/8.46.0
Jun 26, 2026
Merged

chore(deps): update Java SDK to v8.46.0#2738
bitsandfoxes merged 1 commit into
mainfrom
deps/modules/sentry-java/8.46.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bumps modules/sentry-java from 8.45.0 to 8.46.0.

Auto-generated by a dependency updater.

Changelog

8.46.0

Fixes

  • Session Replay: Fix network detail response body size being unknown for gzip-compressed responses (#5592)

Behavioral Changes

  • Collections returned by scope (e.g. getBreadcrumbs, getTags, getAttachments) are shared state and should not be mutated. (#5541)
    • Previously, when going through CombinedScopeView, we were returning a copy where mutations didn't show up in the underlying scopes.
    • This has now changed in order to reduce SDK overhead.
  • Date objects returned by SDK data model getters are shared state and should not be mutated. (#5603)
    • Previously, these getters returned defensive copies for some date fields.
    • This has now changed in order to reduce SDK overhead.

Performance

  • Reduce writer buffer size from 8192 to 512 (#5544)
  • Remove redundant event map copies (#5536)
  • Optimize combined scope by adding an early return if only one scope has data (#5541)
  • Reduce model access overhead by avoiding defensive Date copies in SDK data model getters. (#5603)
  • Reduce timestamp parsing and formatting overhead with Sentry-specific ISO-8601 handling. (#5602)
  • Reduce JSON serialization overhead by creating the reflection serializer only when unknown-object fallback serialization is needed. (#5601)
  • Reduce JSON serialization overhead by allocating reflection cycle-tracking state only when reflection serialization is used. (#5600)
  • Reduce context serialization overhead by sorting key snapshots with arrays instead of temporary lists. (#5599)
  • Reduce breadcrumb allocation overhead by creating the Breadcrumb data map only when data is added. (#5598)
  • Reduce JSON serialization overhead by lowering the initial JsonWriter nesting stack size while preserving on-demand growth. (#5591)
  • Reduce timestamp helper overhead by replacing unnecessary Calendar usage in DateUtils with direct Date creation. (#5589)
  • Reduce Android startup overhead by using the default timezone directly on older devices or when no timezone info is available in the locale. (#5587)

@bruno-garcia bruno-garcia force-pushed the deps/modules/sentry-java/8.46.0 branch from 66a9922 to 0dc742c Compare June 26, 2026 04:25
@bitsandfoxes bitsandfoxes merged commit 51814c4 into main Jun 26, 2026
89 of 90 checks passed
@bitsandfoxes bitsandfoxes deleted the deps/modules/sentry-java/8.46.0 branch June 26, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants